#include "settings.h"

Settings::Settings(QObject *parent) :
    QObject(parent)
{
}

Settings::~Settings()
{
}

// Window Maximized
bool Settings::WindowMax() const
{
    return m_WindowMax;
}

void Settings::setWindowMax(const bool max)
{
    m_WindowMax = max;
}

// Window Height
int Settings::WindowH() const
{
    return m_WindowH;
}

void Settings::setWindowH(const int h)
{
    m_WindowH = h;
}

// Window Width
int Settings::WindowW() const
{
    return m_WindowW;
}

void Settings::setWindowW(const int w)
{
    m_WindowW = w;
}

// Window X
int Settings::WindowX() const
{
    return m_WindowX;
}

void Settings::setWindowX(const int x)
{
    m_WindowX = x;
}

// Window Y
int Settings::WindowY() const
{
    return m_WindowY;
}

void Settings::setWindowY(const int y)
{
    m_WindowY = y;
}

// Proxy Enable
bool Settings::ProxyEnable() const
{
    return m_ProxyEnable;
}

void Settings::setProxyEnable(const bool enable)
{
    m_ProxyEnable = enable;
}

// Proxy Host
QString Settings::ProxyHost() const
{
    return m_ProxyHost;
}

void Settings::setProxyHost(const QString &host)
{
    m_ProxyHost = host;
}

// Proxy Port
int Settings::ProxyPort() const
{
    return m_ProxyPort;
}

void Settings::setProxyPort(const int port)
{
    m_ProxyPort = port;
}

// Proxy User
QString Settings::ProxyUser() const
{
    return m_ProxyUser;
}

void Settings::setProxyUser(const QString &user)
{
    m_ProxyUser = user;
}

// Proxy Password
QString Settings::ProxyPass() const
{
    return m_ProxyPass;
}

void Settings::setProxyPass(const QString &pass)
{
    m_ProxyPass = pass;
}

QString Settings::DownloadPath() const
{
    return m_DownloadPath;
}

void Settings::setDownloadPath(const QString &path)
{
    m_DownloadPath = path;
}
